<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="www-yourdomain-com">

<head>
	{% load ad_tags %}
	<title>{% ad_sitename %}</title>
	
	<meta http-equiv="content-language" content="Zh_cn" />
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	
	<meta name="author" content="Team" />
	<meta name="design" content="fla" />
	<meta name="description" content="Team Advertisement Project" />
	<meta name="keywords" content="" />
	
	<link rel="stylesheet" type="text/css" media="screen,projection" href="/medias/css/screen.css" />
	
	<!--[if lt ie 7]>
	
		<link rel="stylesheet" type="text/css" media="screen,projection" href="/medias/css/ie.css" />
	
	<![endif]-->
	
	<link rel="start" title="Home" href="#" />

<script language="javascript">
	function selectAll(selectName,buttonName) {     
     var ids = document.getElementsByName(selectName);   
     var buttons=document.getElementsByName(buttonName);   
     for (var i = 0; i < ids.length; i++){   
             if(ids[i].checked==true){   
                 ids[i].checked=false;   
                 buttons[0].value="Select All";   
             }else{   
                 ids[i].checked=true;   
                 buttons[0].value="Unselect All";   
             }   
     }   
 }   
	function formSubmit(){  
	  window.document.form['users'].submit()  
  }   
</script>

</head>

<body id="bhome">

	<div id="topnav">
		
		<ul>
			<li><a href="/about/" title="about">关于</a></li>
			<li><a href="/contact/" title="contact">我们的联系方式</a></li>
			<li><a href="/help/" title="contact">帮助文档</a></li>
			{% if request.user.is_authenticated %}
				<li><a href="/accounts/logout" title="logout">注销</a></li>		
				<li><a href="/accounts/profile/">用户信息面板</a></li>
				<li><a href="#" onclick="javascript:window.open('/accounts/chgpass/', '_blank', 'width=420,height=250,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=no')">修改密码</a></li>
				<li><a href="#" title="">当前登录用户:[{{ request.user.username }}]</a></li>
			{% else %}
				<li><a href="/accounts/login" title="login">登录</a></li>
			{% endif %}
		</ul>
		
	</div>

	<div id="header">
	
		<h1><a href="/" title="Home">Team Advertisement Project</a></h1>
	
	</div>
	<div id="navigation">
	
		<ul>
			
			<li id="lnavhome"><a href="/" title="Home">Home</a></li>
			<li id="lnavuser"><a href="/users/" title="用户管理">用户管理</a></li>
			<li id="lnavusergroup"><a href="/group/" title="用户组管理">用户组管理</a></li>
			<li id="lnavzone"><a href="/place/" title="地点区域管理">区域管理</a></li>
			<li id="lnavadorg"><a href="/adorg/" title="广告编组管理">广告编组管理</a></li>
			<li id="lnavaditem"><a href="/aditem/" title="广告条目管理">广告条目管理</a></li>
			<li id="lnavadpush"><a href="/adpush/" title="广告播放管理">广告播放管理</a></li>
			<li id="lnavnews"><a href="/news/" title="系统新闻通告">新闻通告</a></li>
			<li id="lnavmessage"><a href="/message/" title="发送或查看站内短信">站内短信</a></li>
			<li id="lnavguestbook"><a href="/guestbook/" title="给我们留言">留言本</a></li>
			<!--  -->
			
		</ul>
		
	</div>